package top.infopub.mgr.cap.service;

import com.github.pagehelper.Page;
import top.infopub.dto.mkt.InformationSubmitApprovalDto;
import top.infopub.model.cap.FinancingApproval;
import top.infopub.model.cap.InformationSubmitApproval;
import top.infopub.model.cap.SetupFinancial;
import top.infopub.security.vo.AuthorizationVO;

import java.util.List;
import java.util.Map;

/**
 * @Author Warking
 * @Date 2021/5/22 15:33
 * @Version 1.0 资料报审
 */
public interface InformationSubmitApprovalService {

    /*资料报审列表接口*/
    Page<InformationSubmitApproval> selectPage(Page<InformationSubmitApproval> page, InformationSubmitApproval informationSubmitApproval);
    /*资料报审详情跳转查询主阶段表的数据*/
    InformationSubmitApproval selectByKey(String id);
    /*资料报审详情页面*/
    InformationSubmitApprovalDto queryDetailById(String id);
    //资料报审详情金融机构下拉框数据
    List<Map<String, String>> queryFinancialDetail(String proCode);
    /*资料报审融资报审保存与提交*/
    int save(FinancingApproval financingApproval, String proCode);
    /*资料报审金融机构下拉框选择事件接口 金融机构的ID 和 项目的proCode*/
    SetupFinancial querySetupFinancialDetail(String id, String proCode);
    /*资料报审的融资报审数据审批通过后往融资批复主表写入数据*/
    List<String> saveFundingApproval(String proCode, AuthorizationVO vo );
}
